package com.tensquare.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 城市对象 tb_city
 * 
 * @author hbxfwf
 * @date 2021-08-24
 */
public class City extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String name;

    /** 是否热门 */
    @Excel(name = "是否热门")
    private String ishot;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIshot(String ishot) 
    {
        this.ishot = ishot;
    }

    public String getIshot() 
    {
        return ishot;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("ishot", getIshot())
            .toString();
    }
}
